<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%--
  Created by IntelliJ IDEA.
  User: kaisir
  Date: 2017/10/12
  Time: 上午9:00
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<html>
<head>
    <title>Title</title>
</head>
<body>
<h2>用户登录</h2>
<form action="index">
    APPID: <input name="appId" value="${app}"/>
    用户名：<input name="username" value="${user}"/>
    <input type="submit">
</form>
<h2>待办任务</h2>
<ul>
    <c:forEach items="${todoList}" var="todo">
        <li>流程：${todo.processName}|节点：${todo.taskName}|<a href="doFlow?taskId=${todo.taskId}" target="_blank">办理</a>
        </li>
    </c:forEach>
</ul>
<h2>流程列表</h2>
<ul>
    <c:forEach items="${processList}" var="process">
        <li>${process.id}|${process.displayName}|版本${process.version}|<a
                href="newFlow?processId=${process.id}">创建流程实例</a></li>
    </c:forEach>
</ul>
</body>
</html>
